<!DOCTYPE html>
<html lang="zh-CN">
@include('/base.head')
<body>
@include('/business.topNav')
<div class="container-fluid">
    <div class="row">
        @extends('business.leftNav')
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h2 class="page-header">当前商品 ： <small>{{$goodsData->goods_name}}</small></h2>

            <div class="panel-body" >
                <div class="col-md-4 well">
                    <img src="/images/{{$goodsData->goods_image}}" width="100%">
                </div>
                <div class="col-md-8">
                    <h3>商品名称：{{$goodsData->goods_name}}</h3>
                    <h3>商品类别：{{$goodsData->goods_class_name}}</h3>
                    <h3>商品介绍：{{$goodsData->goods_info}}</h3>
                    <h3>上架时间：{{$goodsData->goods_time}}</h3>
                    <h3>商品价格：{{$goodsData->goods_price}}元</h3>
                </div>
            </div>
            <br>
            <div class="page-header">
                <h2>买家评价</h2>
            </div>
            <table class="table table-responsive table-condensed table-hover table-striped">
                <thead>
                <tr>
                    <th>评价内容</th>
                    <th>评论用户</th>
                    <th>评价时间</th>
                </tr>
                </thead>
                <tbody>
                @foreach($evaluateData as $value)
                    <tr>
                        <td>{{$value->evaluate_info}}</td>
                        <td>{{$value->user_name}}</td>
                        <td>{{$value->evaluate_time}}</td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>